import http from '../http'

const api = '/erp/client/point'

export function get(id, params) {
  return http.get(api + '/' + id, {
    params
  })
}

export function post(data) {
  return http.post(api, data)
}